// 火警报警模拟
function simulateCall() {
    document.getElementById("call-result").innerText = "已拨打119，消防员正在赶来！";
    document.getElementById("alarm-audio").play();
}

// 小游戏逻辑
function checkAnswer(answer) {
    if (answer === 'correct') {
        document.getElementById("game-result").innerText = "恭喜你，选择正确！";
    } else {
        document.getElementById("game-result").innerText = "错误，请重新选择！";
    }
}

// 小测验逻辑
function checkQuizAnswer(answer) {
    if (answer === 'wet-towel') {
        document.getElementById("quiz-result").innerText = "回答正确！湿毛巾可以有效过滤烟雾。";
    } else {
        document.getElementById("quiz-result").innerText = "回答错误，请再试一次！";
    }
}